/* 平板设备 */
@media screen and (max-width: 1024px) {
    .features,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

/* 移动设备 */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .menu-btn {
        display: flex;
    }

    .features,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero {
        height: 60vh;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* 小型移动设备 */
@media screen and (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .hero {
        height: 50vh;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .services {
        padding: 3rem 5%;
    }

    .feature-item,
    .service-item {
        padding: 1rem;
    }
} 